package com.user.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 系统登录日志表
 * </p>
 *
 * @author rick
 * @since 2022-12-13 11:23:15
 */
@Getter
@Setter
@TableName("wk_admin_login_log")
@ApiModel(value = "AdminLoginLog对象", description = "系统登录日志表")
public class AdminLoginLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("操作人id")
    @TableField("create_user_id")
    private Long createUserId;

    @ApiModelProperty("登录时间")
    @TableField("login_time")
    private LocalDateTime loginTime;

    @ApiModelProperty("登录ip地址")
    @TableField("ip_address")
    private String ipAddress;

    @ApiModelProperty("登录地点")
    @TableField("login_address")
    private String loginAddress;

    @ApiModelProperty("设备类型")
    @TableField("device_type")
    private String deviceType;

    @ApiModelProperty("终端内核")
    @TableField("core")
    private String core;

    @ApiModelProperty("平台")
    @TableField("platform")
    private String platform;

    @ApiModelProperty("IEMI设备号")
    @TableField("imei")
    private String imei;

    @ApiModelProperty("认证结果 1成功 2失败")
    @TableField("auth_result")
    private Integer authResult;


}
